/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Database;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

/**
 *
 * @author Dion
 */
public class CreateTabelMember {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws SQLException, FileNotFoundException, IOException {
        Connection con;
        con = Koneksi.open();
        Statement stat = con.createStatement();

        String data = "create table MEMBER(ID_MEMBER varchar2(40),"+"USERNAME varchar2(40),"
                + "PASSWORD varchar2(30),"+"NAMA varchar2 (40),"+"ALAMAT varchar2(40),"
                +"NO_REK varchar2 (30),"+"NO_HP varchar2 (12),"
                + "EMAIL varchar2(30))";
        stat.executeQuery(data);
        System.out.println("table MEMBER created");
    }
}